how to calculate co attainment of a subject